home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / e / misc.txt / 000333_fdc@panix.com_Mon Mar 22 12:30:35 2010.msg < prev    next >
Text File  |  2020-01-01  |  3KB  |  58 lines

  1. Path: reader1.panix.com!panix!not-for-mail
  2. From: Frank da Cruz <fdc@panix.com>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Transferring files over SSH in the console
  5. Date: Mon, 22 Mar 2010 16:27:51 +0000 (UTC)
  6. Organization: PANIX Public Access Internet and UNIX, NYC
  7. Lines: 41
  8. Message-ID: <slrnhqf6k7.j4f.fdc@panix3.panix.com>
  9. References: <880dece01003211552le9d6018odb9bd683c3c897a9@mail.gmail.com> <201003212314.32985.reidac@bellatlantic.net> <201003212325.49742.reidac@bellatlantic.net> <880dece01003220152p3c8d50e1le80fe6bab5522601@mail.gmail.com> <4BA76359.6090405@internode.on.net>
  10. Reply-To: fdc@columbia.edu
  11. NNTP-Posting-Host: panix3.panix.com
  12. X-Trace: reader1.panix.com 1269275271 2521 166.84.1.3 (22 Mar 2010 16:27:51 GMT)
  13. X-Complaints-To: abuse@panix.com
  14. NNTP-Posting-Date: Mon, 22 Mar 2010 16:27:51 +0000 (UTC)
  15. User-Agent: slrn/0.9.8.0 (NetBSD)
  16. Xref: panix comp.protocols.kermit.misc:15936
  17.  
  18. On 2010-03-22, Arthur Marsh <arthur.marsh@internode.on.net> wrote:
  19. : Dotan Cohen wrote, on 2010-03-22 19:22:
  20. :
  21. (a lot of stuff about transferring files over SSH in the console)
  22.  
  23. To put it simply, nothing could be easier than Kermit.  I have an SSH
  24. connection (from Windows, using Kermit 95, or from Unix using Kermit)
  25. to a Unix shell session.  Some of us still prefer to work this way;
  26. we get more done :-)
  27.  
  28. The Unix host has C-Kermit stored as "kermit" in a directory that's
  29. in the path.  In my ~/.bashrc I have:
  30.  
  31.   alias s="kermit -Ys"
  32.   alias g="kermit -Yg"
  33.  
  34. Any time I want to send a file from the host to my desktop I just
  35. say "s xxx", where xxx is the name of the I want to send; it can also
  36. contain wildcards to send multiple files a once.
  37.  
  38. Any time I want to retrieve a file from my desktop and put it on the Unix
  39. host, I say "g xxx" -- same deal, except this time you have to be slightly
  40. careful about wildcards because they are not (normally) to interpreted
  41. on the Unix host, but rather on the desktop system.
  42.  
  43. What happens next, in both cases, is that the file or files is/are
  44. transferred, poof.  That's the whole thing, no more commands, no escaping back
  45. and reconnecting, no complicated config files, no repitious and redundant
  46. authentication.  The files go over the connection you already have.
  47.  
  48. It doesn't matter if the files are text or binary, even if the two systems
  49. differ as to file formats (e.g. Windows / Linux / VMS); Kermit chooses the
  50. correct transfer mode for each file automatically.
  51.  
  52. Of course there are options if you want to get fancy, e.g.:
  53.  
  54.  . Only transfer files that are newer than the counterparts on the other end.
  55.  . Convert character sets of text files appropriately (e.g. 8859-1 / UTF-8).
  56.  . Recover a partial transfer from the point of failure (binary mode only).
  57.  
  58. - Frank